home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / kh_error.h < prev    next >
C/C++ Source or Header  |  1994-10-21  |  494b  |  21 lines

  1. #ifndef __KH_ERROR_H_
  2. #define __KH_ERROR_H_
  3.  
  4. /*    Error handler. Enumeration could be continued in this or another
  5.     file(s). This is why could not be used "enum ERRORS { ..."
  6.     I suppose to use this variable as common error variable in
  7.     the next version of package.
  8. */
  9.  
  10. enum { KH_SUCCESS, KH_UNKNOWN_ERROR, KH_FILE_ERROR, KH_BGI_ERROR,
  11.        KH_MEMORY_ERROR,
  12.  
  13.  
  14.        KH_USER_ERROR };
  15.  
  16. extern int kh_error_code;     // Last error in system
  17.  
  18.  
  19.  
  20. #endif __KH_ERROR_H_
  21.